﻿using System.Collections.Generic;
using Dost.Khcn.Data.EntityModel;

namespace Dost.Khcn.Data.Interfaces
{
    public interface IHocHamDao
    {
        List<HocHam> GetHocHams(int startIndex, int pageSize, string sorting, string name, out int totalRecords);
        List<HocHam> GetAll();
        HocHam AddHocHam(HocHam hocHam);
        HocHam GetById(int id);
        void UpdateHocHam(HocHam hocHam);
        void DeleteHocHam(int id);
    }
}
